<?php
/**
 * ProjectName: Grapes.
 * Created by Administrator.
 * FileName: grapes.php
 * Date: 2019/2/2
 * Time: 10:57
 * Description: 系统配置表
 */

return [
    'default_image' => '/static/images/default.png',
    'upload_path' => ROOT_PATH . 'public' . DIRECTORY_SEPARATOR . 'static' . DIRECTORY_SEPARATOR . 'uploads',
    //上传文件限制50M
    'upload_filesize' => 5368709120,
    //分页默认数量
    'page_limit' => 10,
    //售后，评论等上传图片数量限制
    'image_max' => 9,
    //商品导入模板
    'goods_import_templete' => ROOT_PATH . 'public' . DS . 'static' . DS . 'templete' . DS . 'goods-csv-import.csv',
    'user_import_templete' => ROOT_PATH . 'public' . DS . 'static' . DS . 'templete' . DS . 'user-csv-import.csv',
    //快递查询配置参数
    'api_express' => [
        'key' => '',
        'customer' => ''
    ],

    'login_fail_num' => 3,              //登陆失败次数，如果每天登陆失败次数超过次数字，就会显示图片验证码
    'admin_login_fail_num' => 5,       //管理员登陆失败次数，如果超过这个次数，会显示图片验证码，防止暴力破解
    'tocash_money_low' => '100',       //最低提现金额
    'authorization_url' => '', //授权查询地址
    'product' => 'Grapes 标准版',//产品名称
    'version' => 'v1.0.0',//版本号
    'sms_password' => '',          //短信密码，会覆盖项目配置里的此参数，为了保密密码
    'image_storage' => [
        'type' => 'Local'
    ]
];